package com.intellagric.service.iftmonitor.ift_ctrl_equipment;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.IftCtrlEquipmentType;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/21
 * @DESC： 控制设备类型信息服务接口
 */
public interface CtrlEquipmentTypeService {

    //增加控制设备
    ResponseMessage addCtrlEquipmentType(IftCtrlEquipmentType ctrlEquipmentType);

    //删除控制设备
    ResponseMessage deleteCtrlEquipmentType(String id);

    //修改控制设备
    ResponseMessage editCtrlEquipmentType(IftCtrlEquipmentType ctrlEquipmentType);

    //查询控制设备
    IftCtrlEquipmentType getCtrlEquipmentTypeById(String id);
    LayuiDataGridResult getCtrlEquipmentTypePid(String parentId);
    LayuiDataGridResult getCtrlEquipmentTypeList();
    LayuiDataGridResult getCtrlEquipmentTypeTree();

}
